import java.util.Comparator;


public class ComparateurNom implements Comparator<Client> {

	@Override
	public int compare(Client c1, Client c2) {
		int comp = c1.getNom().compareTo(c2.getNom());
		if(comp != 0)
			return comp;
		return c1.getPrenom().compareTo(c2.getPrenom());
	}

}
